/**
 * Created by chenxiaoyu on 2018/7/21.
 * Email 1524904743@qq.com
 */

require(['../config'], function () {
    require(['jquery', 'pub', 'tinymce'], function ($, _pub, tinymce) {
        require(['/plugs/tinymce/themes/inlite/theme.js']);
        $("body>div>header").load('../../html/public/header.html', function () {
            _pub.headerNav();
            _pub.isLogin();
        })
        _pub.footerLoad();

        var editor= new _pub.InlineEditor('#commentEditor', tinymce, 'inline');
    })
})